﻿using System;
using System.Data;
namespace Interface_Tier
{
    public interface IHRM_INSURANCEData
    {
        int HRM_INSURANCE_Delete(Guid InsuranceID);
        int HRM_INSURANCE_Disable(Guid InsuranceID, ref bool Enabled);
        System.Data.DataSet HRM_INSURANCE_Get(Guid InsuranceID);
        System.Data.DataSet HRM_INSURANCE_GetList();
        int HRM_INSURANCE_Insert(Guid InsuranceID, Guid InsuranceTableListID, string EmployeeCode, string EmployeeName, string SocialInsuranceCode, string HealthInsuranceCode, DateTime Birthday, bool Sex, string IDCard, string MainAddress, string Province, string Hospital, decimal OldSalary, decimal OldAllowance1, decimal OldAllowance2, decimal OldAllowance3, decimal OldAllowance4, decimal NewSalary, decimal NewAllowance1, decimal NewAllowance2, decimal NewAllowance3, decimal NewAllowance4, DateTime FromDate, DateTime ToDate, double Rate, bool IsPay, int Type, string Description);
        int HRM_INSURANCE_Save(Guid InsuranceID, Guid InsuranceTableListID, string EmployeeCode, string EmployeeName, string SocialInsuranceCode, string HealthInsuranceCode, DateTime Birthday, bool Sex, string IDCard, string MainAddress, string Province, string Hospital, decimal OldSalary, decimal OldAllowance1, decimal OldAllowance2, decimal OldAllowance3, decimal OldAllowance4, decimal NewSalary, decimal NewAllowance1, decimal NewAllowance2, decimal NewAllowance3, decimal NewAllowance4, DateTime FromDate, DateTime ToDate, double Rate, bool IsPay, int Type, string Description);
        int HRM_INSURANCE_Update(Guid InsuranceID, Guid InsuranceTableListID, string EmployeeCode, string EmployeeName, string SocialInsuranceCode, string HealthInsuranceCode, DateTime Birthday, bool Sex, string IDCard, string MainAddress, string Province, string Hospital, decimal OldSalary, decimal OldAllowance1, decimal OldAllowance2, decimal OldAllowance3, decimal OldAllowance4, decimal NewSalary, decimal NewAllowance1, decimal NewAllowance2, decimal NewAllowance3, decimal NewAllowance4, DateTime FromDate, DateTime ToDate, double Rate, bool IsPay, int Type, string Description);
        DataSet HRM_INSURANCE_Get02aTBHTotalUp(Int32 NumberSocial,Int32 NumberHealth,Decimal WageSocial,Decimal WageHealth,Decimal PaySocial,Decimal PayHealth,Decimal PayExtraSocial,Decimal PayExtraHealth,Int32 ExtraMonth);
        DataSet HRM_INSURANCE_Get03aTBHTotalUp(Int32 NumberIncreaseSocial,Int32 NumberDecreaseSocial,Int32 NumberIncreaseHealth,Int32 NumberDecreaseHealth,Int32 NumberIncreaseUnemployment,Int32 NumberDecreaseUnemployment,Decimal WageIncreaseUnemployment,Decimal WageDecreaseUnemployment,Decimal PayIncreaseSocial,Decimal PayDecreaseSocial,Decimal PayIncreaseHealth,Decimal PayDecreaseHealth,Decimal PayIncreaseUnemployment,Decimal PayDecreaseUnemployment,Decimal PayExtraIncreaseSocial,Decimal PayExtraDecreaseSocial,Decimal PayExtraIncreaseHealth,Decimal PayExtraDecreaseHealth,Decimal PayExtraIncreaseUnemployment,Decimal PayExtraDecreaseUnemployment,Int32 ExtraMonth,Int32 NumberOldSocial,Int32 NumberNewSocial,Int32 NumberOldHealth,Int32 NumberNewHealth,Int32 NumberOldUnemployment,Int32 NumberNewUnemployment,Int32 WageOldSocial,Int32 WageNewSocial,Int32 WageOldHealth,Int32 WageNewHealth,Int32 WageOldUnemployment,Int32 WageNewUnemployment,Int32 PayOldSocial,Int32 PayNewSocial,Int32 PayOldHealth,Int32 PayNewHealth,Int32 PayOldUnemployment,Int32 PayNewUnemployment);
        DataSet HRM_INSURANCE_GetList03aTBH(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListAddHealth(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListAddUnemployment(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListByInsuranceTableList(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListByType(Guid InsuranceTableListID, Int32 Type);
        DataSet HRM_INSURANCE_GetListChangeSalary(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListDecrease(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListIncrease(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListModify(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_GetListType(Guid InsuranceTableListID);
        DataSet HRM_INSURANCE_TABLELIST_Delete(Guid InsuranceTableListID);
    }
}
